package com.coocaa.ops.common.core.biz.policygroup.constant;

import lombok.experimental.UtilityClass;

import java.util.Objects;

/**
 * @author bijiahao
 * @description
 * @date 2020/3/12 16:06
 */
@UtilityClass
public class PolicyGroupCategoryConstants {

    public static final  int FORMAL = 1;
    public static final  int TEST = 2;


    public static boolean isTest(Integer policyGroupCategory){
        return Objects.equals(policyGroupCategory, TEST);
    }

    public static boolean isFormal(Integer policyGroupCategory){
        return Objects.equals(policyGroupCategory, FORMAL);
    }
}
